x86 hotspot aseembler incorrectly returns next instruction's PC
for rep stos %eax,%es:(%edi) causing an infinite loop.
This patch removes UnsafeGuard for i386, so that VM crashes
instead of hanging indefinitely.
Patch should not be forwarded as it reverses JDK-8320886 for
i386.
Vladimir Petko [Thu, 24 Sep 2026 07:52:19 +0000 (19:52 +1200)]
print warning to install openjdk-*-jre package
Forwarded: not-needed
fontmanager support was moved to recommends, warn user to
either install -jre package or recommended packages.
Forwarding is not needed as this is a Debian-only issue.
OpenJDK Team [Thu, 24 Sep 2026 07:52:19 +0000 (19:52 +1200)]
Misalign address in the test rather than structure
mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.
The cause is the use of dh_strip_nondeterminism late in the build
process. This reorganises the jmod files, which in turn changes their
SHA256 checksums. This would not be a problem, except that the
checksums are saved in java.base.jmod *before* the use of
dh_strip_nondeterminism. Performing this stripping immediately after
each jmod file is created results in the checksums being consistent
throughout.
* OpenJDK 25.0.5 snapshot, build 7.
* Cherry-pick upstream patches to resolve FFM font rendering crash
and memory leak (LP: #2155650):
- d/p/jdk-8337853.diff: Temporary directory was filling up
with the temporary font files.
- d/p/jdk-8371066.diff: Remove unused classes so that other font patches
apply cleanly.
- d/p/jdk-8378603.diff: libfontmanager FFM was using mismatched free
and malloc, when overriden with LD_LIBRARY_PRELOAD.
- d/p/jdk-8378607.diff: GlyphLayout cache prevented Fonts from being
garbage collected.
- d/p/jdk-8378615.diff: FFM call stub was holding global JNI reference
to the font.
* d/rules: add --with-external-symbols-in-bundles=full configure
option (JDK-8373246).
* d/B-jre-*.overrides.in: Drop exit-in-shared-library lintian
override.